﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="RSA.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style2
        {
            height: 30px;
        }
        .style6
        {
            height: 15px;
        }
        .style7
        {
            width: 400px;
        }
        .style8
        {
            height: 15px;
            width: 400px;
        }
        .style9
        {
            height: 30px;
            width: 400px;
        }
        .style10
        {   
            
            width: 192px;
        }
        .style11
        {
            height: 15px;
            width: 192px;
        }
        .style12
        {
            height: 30px;
            width: 192px;
        }
        .style13
        {
            font-size: 20px;
            font-weight: bold;
        }
        .style14
        {
            font-size: 16px;
            font-weight: bold;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    
    <div >



        <table class="style1">
            <tr>
                <td class="style14">
                    Szyfrowanie/deszyfrowanie:</td>
                <td class="style7">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style10">
                    Wczytaj plik:</td>
                <td class="style7">
                    <asp:FileUpload ID="FileUpload_Plik" runat="server" Width="175px" />
                </td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style11">
                    Wczytaj plik z kluczem:</td>
                <td class="style8">
                    <asp:FileUpload ID="FileUpload_Klucz" runat="server" Width="169px" />
                    </td>
                <td class="style6">
                    <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style12">
                    <asp:Button ID="Button_Szyfruj" runat="server" Text="Szyfrowanie" 
                        onclick="Button_Szyfruj_Click" Width="189px" />
                    </td>
                <td class="style9">
                    <asp:Button ID="Button_Deszyfruj" runat="server" Text="Deszyfrowanie" 
                        onclick="Button_Deszyfruj_Click" Width="175px" />
                    </td>
                <td class="style2">
                    <asp:Label ID="Label2" runat="server" Text=""></asp:Label>
                    </td>
            </tr>
            <tr>
                <td class="style10">
                    &nbsp;</td>
                <td class="style7">
                    &nbsp;</td>
                <td>
                    <asp:Label ID="Label3" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style13">
                    Generowanie kluczy:</td>
                <td class="style7">
                    &nbsp;</td>
                <td>
                    <asp:Label ID="Label4" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style12">
                    Dlugosc klucza (max 2048b):</td>
                <td class="style9">
                    &nbsp;</td>
                <td class="style2">
                    <asp:Label ID="Label5" runat="server" Text=""></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="style10">
                    <asp:TextBox ID="TextBoxDlugoscKlucza" runat="server" 
                        style="margin-bottom: 0px" Width="181px"></asp:TextBox>
                    </td>
                <td class="style7">
                    &nbsp;</td>
                <td>
                    <asp:Label ID="Label6" runat="server" Text=""></asp:Label>
                    </td>
            </tr>
            <tr>
                <td class="style10">
                    <asp:Button ID="Button_GenerujKlucze" runat="server" Text="Generuj klucze" 
                        onclick="Button_GenerujKlucze_Click" Width="188px" />
                    </td>
                <td class="style7">
                    &nbsp;</td>
                <td>
                    </td>
            </tr>
            <tr>
                <td class="style10">
                    </td>
                <td class="style7">
                    &nbsp;</td>
                <td>
                </td>
            </tr>
        </table>



    </div>
</body>
    <p>

    </p>
    
    </form>

</html>
